package com.bysc.executor;

import com.bysc.baseservice.config.RabbitmqConfig;
import com.bysc.baseservice.handler.BaiYunException;
import com.bysc.executor.client.JoinClient;
import org.springframework.amqp.rabbit.core.RabbitTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

import java.time.LocalDateTime;

@ComponentScan({"com.bysc"})
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients
public class ExecutorApplication {


    public static void main(String[] args) {

        SpringApplication.run(ExecutorApplication.class, args);
    }

}